package collection;

import java.awt.List;
import java.util.ArrayList;

public class cls1 {
	public static void main(String[] args){
		
		java.util.List<String> list1=new ArrayList<String>();
		String str="hello";
		list1.add(str);
		list1.add("felight");
		System.out.println(list1.size());
		System.out.println(list1.contains("felight"));
		System.out.println(list1.remove("hello"));
		System.out.println(list1.size());
	}
	

}
